#include <stdio.h>

#include <stdlib.h>

#include <string.h>
int main()
{
	char *p = malloc(10);

	strcpy(p, "helloworld!");

	printf("%s\n", p);

	p = realloc(p, 20);

	printf("%s\n", p);

	return 0;
}
